<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/11/13
 * Time: 22:02
 */

namespace App;


use Illuminate\Database\Eloquent\Model;

class Order extends Model
{
    protected $table='fz_order';
    public static function getState($var){
        if($var==0){
            return '待审核';
        }elseif ($var==1){
            return '已审核';
        }elseif ($var==2){
            return '已发放';
        }elseif ($var==3){
            return '已拒绝';
        }
    }
}